﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Home.ascx.cs" Inherits="Lenovo.CFI.Web.VP.Home" %>
<tbwc:StyleSheetControl ID="SscList" runat="server" CssPath="list.css"></tbwc:StyleSheetControl>
<tbwc:StyleSheetControl ID="SscLink" runat="server" CssPath="VP/home.css"></tbwc:StyleSheetControl>
<ajaxToolkit:ToolkitScriptManager runat="Server" EnablePartialRendering="true" CombineScripts="false" ID="ScriptManager1">
    <Scripts>
        <asp:ScriptReference Path="~/js/jquery-1.4.2.js" />
    </Scripts>
</ajaxToolkit:ToolkitScriptManager>

<script type="text/javascript">
    $(document).ready(function () {
        $("#showalltopic").click(function () {
            $("#moretopiclist").toggle();
        });

    });
</script>

<div id="topiclist">
    <h2><span class="status"><span class="item">Collection</span><span class="item">Review</span><span class="item">Execution</span></span>Topic List</h2>
    <asp:Repeater ID="RepTopic" runat="server" onitemdatabound="RepTopic_ItemDataBound">
        <ItemTemplate>
    <div class="topicitem">
        <h3><span class="status"><span class="item"><asp:Literal ID="LtrStatus1" runat="server"></asp:Literal></span><span 
            class="item"><asp:Literal ID="LtrStatus2" runat="server"></asp:Literal></span><span 
            class="item"><asp:Literal ID="LtrStatus3" runat="server"></asp:Literal></span></span>
            <asp:HyperLink ID="HlTopic" runat="server" Target="_blank">Topic title</asp:HyperLink></h3>
    </div>
        </ItemTemplate>
    </asp:Repeater>
    
    <div id="showalltopic"><a>click here and show all topics</a></div>
    <div id="moretopiclist" style="display:none;">
        <asp:Repeater ID="RepTopicMore" runat="server" onitemdatabound="RepTopic_ItemDataBound">
            <ItemTemplate>
        <div class="topicitem hide">
            <h3><span class="status"><span class="item"><asp:Literal ID="LtrStatus1" runat="server"></asp:Literal></span><span 
                class="item"><asp:Literal ID="LtrStatus2" runat="server"></asp:Literal></span><span 
                class="item"><asp:Literal ID="LtrStatus3" runat="server"></asp:Literal></span></span>
                <asp:HyperLink ID="HlTopic" runat="server">Topic title</asp:HyperLink></h3>
        </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</div>

<div id="summarylist">
    <h2>My Idea</h2>
    <div class="item"><em>Count:</em><asp:HyperLink ID="HlMyIdea" runat="server">Count</asp:HyperLink></div>


    <h2>My Work</h2>
    <div class="item"><em>Approval:</em><asp:HyperLink ID="HlIdeaApprove" runat="server">Count</asp:HyperLink></div>
    <div class="item"><em>Review Ideas:</em><asp:HyperLink ID="HlDcList" runat="server">Count</asp:HyperLink></div>
    <div class="item"><em>AR:</em><asp:HyperLink ID="HlExecutor" runat="server">Count</asp:HyperLink></div>
    <div class="item"><em>Topic work:</em><asp:Literal ID="LtrTDCTopics" runat="server"></asp:Literal></div>
    <div class="item"><em>Topic review:</em><asp:Literal ID="LtrReviewerTopics" runat="server"></asp:Literal></div>


    <h2>My Team</h2>
    <div class="item"><em>Idea:</em><asp:HyperLink ID="HlTeamIdeas" runat="server">Count</asp:HyperLink></div>
    <div class="item"><em>AR:</em><asp:HyperLink ID="HlTeamExeucte" runat="server">Count</asp:HyperLink></div>
</div>
